<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>creeper</title>
</head>
<body>
    <form action="/search/creeper/" method="POST">
        {% csrf_token %}
        <label>请输入要爬取的定理库名称：</label><input type="text" name="turl">
        <input type="submit" value="提交">
    </form>
    <iframe src={{ srcpath }} name="result" height="600" width="800" src="" frameborder="0">
    </iframe>
    <div id="content" >
        <ul class="clearfix">
            <li>
                <p>{{ creepResult }}</p>
            </li>
            {% for x in creepResult %}
                <li>
                    <p> {{ x.text }} </p>
                </li>
            {% endfor %}
        </ul>
    </div>
</body>
</html>